pulse_audio: Update.  Implement period_wait.  Cleanups.