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

 
 
Latest News
GSequencer v2.1.53 for debian buster posted by jkraehemann, Fri 08 Mar 2019 11:01:12 PM UTC - 0 replies
Get emotional as debian buster is going to be released posted by jkraehemann, Thu 07 Mar 2019 12:46:59 AM UTC - 0 replies
State of GSequencer in debian buster posted by jkraehemann, Sun 03 Mar 2019 07:08:32 PM UTC - 0 replies
handling LV2 iriref posted by jkraehemann, Wed 13 Feb 2019 10:20:49 AM UTC - 0 replies
fixed ref-count posted by jkraehemann, Sat 09 Feb 2019 02:46:41 PM UTC - 0 replies
[Submit News]
[79 news in archive]

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

No messages in The new dispatcher: ags_channel_recursive_run_stage()

 

Back to the top


Powered by Savane 3.4