integrating gui with portaudio