newsAdvanced Gtk+ Sequencer - News: The new dispatcher: ags_channel_recursive_run_stage()

 
 
Latest News
Advanced Gtk+ Sequencer version 6.5.x posted by jkraehemann, Sun 11 Feb 2024 05:06:15 PM UTC
Advanced Gtk+ Sequencer version 6.3.5 posted by jkraehemann, Fri 19 Jan 2024 11:53:24 AM UTC
Advanced Gtk+ Sequencer v6.1.0 released posted by jkraehemann, Thu 28 Sep 2023 04:55:19 AM UTC
Advanced Gtk+ Sequencer v6.0.0 released posted by jkraehemann, Mon 21 Aug 2023 11:48:52 AM UTC
Advanced Gtk+ Sequencer v5.5.0 released posted by jkraehemann, Sat 05 Aug 2023 10:21:52 AM UTC

The new dispatcher: ags_channel_recursive_run_stage()

Item posted by Joël Krähemann <jkraehemann> on Sun 18 Mar 2018 05:37:45 PM UTC.

Yay, few days ago deleted all recursive functions in ags_channel.c. The only remaining recursive functions are:

  • ags_channel_get_level()
  • ags_channel_recursive_set_property()
  • ags_channel_recursive_run_stage()


Reseting AgsRecyclingContext is done as called ags_channel_reset_recycling().

The new dispatcher knows basically 3 different tasks: prepare, do and cleanup. ags_channel_recursive_run_stage() is much smarter than its predecessors. It detects missing AgsRecallID and adds them. It might be called to prepare or cleanup yet running recalls.

Prepare for already running recalls is done while ags_channel_set_link() is called. Later, cleanup as ags_channel_reset_recycling() is called.

I really love the changes, hope you do so, as well.



by Joël

 

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code