[PATCH] dsound: Use event based threads