Expose log functions in Lua
Don't let Lua errors crash pustule itself
Use protected calls and log errors instead.
Improve _dump_stack() helper
Rewrite the whole thing using Lua
No more Guile, no more threads. Pustule is now single-threaded and uses Lua.
Use argparse instead of docopt
Add function to suspend/resume a device
Small improvements to pustule.scm
Add functions to get/set the default device
Add minimal default rules for devices
Only log them, but nothing more.
Implement device events
Run new hooks when a device ("sink" in PulseAudio) is added or removed,
and make it possible to change their volumes.
Add helpers to build the alist for an event
More preparation for other events
Fix another memory leak
The event members were not correctly freed if the hook was empty.
Move volume request to a different callback
Which also probably fixes a memory leak…
Prepare for having different event types
Replace "sink" by "input"
Check the return value of asprintf()
Try to avoid a rare segfault