Most processing happens as a result of an incoming
DBus event. The only case when a timed processing
is needed is due to an pending save.
Instead of implementing a full event loop just run the
timed loop while a save is pending, and use an
infinite timeout otherwise.
Fixes: #962
When a parameter is set, jackdbus used to save immediately.
This was quite annoying and ineffective when configuring
lot of parameters without delay. It caused log line to appear
for each parameter set and xml file serialization as well.
This changeset implements delayed save. Parameters are saved
two seconds after last parameter set.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4583 0c269be4-1314-0410-8aa9-9f06e86f4224