to add the routine for dsound