Initial version, working on DirectSound only.

This is the inital version that works with DirectSound only. Porting for
Linux is in progress from here on.

Buildsystem is CMake.