title: ALSA snd_pcm_sw_params_set_stop_threshold() to a lower value cause underrun
body: <p>For mic, I understand stop threshold as: if the filled samples in soundcard hardware ring buffer crosses this threshold, the hardware stops reading from Analog to Digital converter of mic. Thus ring buffer is not over written.</p>
  
  <p>For speaker, it is the maximum data that should cause stop playing audio with Digital to Analog Converter of sound card. Any further data should cause overrun.</p>
  
  <p>(Correct me if I am wrong in above assumptions)</p>
  
  <p>For speaker , when I set the ALSA snd_pcm_sw_params_set_stop_threshold() to a lower value , I can see underruns. I expect more overruns. Why is this ?</p>
  
  <p>Thanks</p>