* Introduction 

This is on my Thinkpad X1 Carbon V9. 
Things may be different on other laptops and soundcards. Make sure you
dont have any  _.asoundrc_ lying around in your home directory when
using Pulseaudio.


* Pulseaudio Configuration 

I have these files in ~/.config/pulse on my new laptop.
* default.pa

** Use BS2B Sink As Default

This is optimized for headphone listening.

  1. Create a bs2b sink
  2. Make that sink the default sink for all clients

** Sinks For Emacspeak Notifications 

emacspeak sends speech notifications to the right ear by default.
Enable this by creating devices ~tts_left~ and  ~tts_right~.


* Issues And Workarounds

** Speaker Vs Headphone 

  1.   Unplugging headphones  initially left  speaker muted and
     vice-versa. After plugging/unplugging headphones, press _C-e ( C-j_
     in emacspeak if necessary. See asound.state here for my
     sound-card; I place it in _~/.emacs.d~ for emacspeak to find
     it. Once asound.state is configured to taste,
     unplugging/plugging-in headphones does not have any issues.

** Outloud TTS And Latency 

  1. The default latency assigned by Pulseaudio to alsa->pulse devices
     is not optimal; too high for responsive eeTS
  2. To work-around this issue, recompile the Emacspeak linux-outloud
     speech server which has been updated with ALSA configuration
     logic to request lower latency.
