ddb_jack.c: minor update: set active flag and setformat clean up