Hi,
the attached patch implements an automatic querying of the NAS device
settings by aupanel.
As long as aupanel runs the existing query functionality is invoked in
regular intervals. Whenever a manual query is used, the interval timer
is reset to it's starting value.
Via a command line option the interval length can be specified, using a
value of 0 disables the functionality.
The default interval time used in my patch is 10 seconds. This is just a
starting point for discussion. Using a default of 0 would mean to keep
the current behaviour (by disabling automatic querying), using some
positive value shorter than 10s would make the feature more noticable.
Using an even larger value would reduce network load a little bit. ;)
The automatic querying functionality is helpful whenever several mixer
clients are used concurrently, possibly by different users (this is the
case in the Unix-AG at the TU Kaiserslautern ;).
I did not commit this patch to svn because IMHO it needs some discussion
first. If everybody agrees that the new functionality is desirable, I'll
happily commit the patch. ;)
Erik