patch from Keith to improve pulse audio support