runloop.c - Rewrite check_volume into set_volume