add sndvol32 to the build system and reformat the code