wasapi: split as separate module
mmdevice: fix restart due to preemption in Start()
DirectSound: reorder to reduce forward declarations
DirectSound: remove stray event handle
DirectSound: factor out common code for legacy and MMDevice
DirectSound: add support for MMDevice API (fixes #7394)
MMDevice: only WASAPI lacks S/PDIF support so far (refs #6827)