updates to common.cpp
updates to sndvol