Updated sound.go with pause and resume functions