Modified the pulseaudio interface to leverage the actual pulseaudio API.