greetings,
Wilfried
--- pcm_lib.c.bak Tue Oct 29 13:40:50 2002 +++ pcm_lib.c Tue Oct 29 14:44:42 2002 @@ -2138,7 +2138,7 @@ snd_pcm_uframes_t frames, appl_ptr, appl_ofs; snd_pcm_uframes_t avail; snd_pcm_uframes_t cont; - if (runtime->sleep_min == 0 && runtime->status->state == SNDRV_PCM_STATE_RUNNING) + if (runtime->sleep_min == 0 && ( runtime->status->state == +SNDRV_PCM_STATE_RUNNING || runtime->status->state == SNDRV_PCM_STATE_DRAINING)) snd_pcm_update_hw_ptr(substream); avail = snd_pcm_capture_avail(runtime); if (runtime->status->state == SNDRV_PCM_STATE_DRAINING) {