move direct sound specific behavior into the actual direct sound function
Just open the MSVC project file and build.