Some more additions to sound.c