Pull request #3

Hello Don,

and finally here is the last pull request for the moment. This time a larger bunch of changes implementing pulseaudio-4.0 support. In our hzdr fork we explicitly use pulseaudio now and it works flawlessly. Have a look if you find these changes useable for the general audience as well.

regards,
jens