moved diagnose-sound-playing to portaudio