]> git.alsa-project.org Git - alsa-plugins.git/commit
pulse - only underrun if no more data has been written
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 Aug 2011 15:02:17 +0000 (17:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Aug 2011 15:02:17 +0000 (17:02 +0200)
commit3854daba604370d3dd7057407b946311bb184122
tree5a6ef25294b05d84001466dc7f071321f3b8877e
parent21f66868d24e97930f826fb9970a9d1e4b144cf9
pulse - only underrun if no more data has been written

Original patch from David Henningsson <david.henningsson@canonical.com>

If more data has already been written after the underrun, the underrun
will automatically end and therefore we should not report it or
restart the stream.

[ This patch adds a more check of underrun with a new PA function so
  that the underrun handles works more reliably.  As the feature is
  supported only in a recent version of PA, the underrun handling is
  enabled as default now for the new PA, while it's still disabled for
  older PA.  -- tiwai ]

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
pulse/pcm_pulse.c