At Fri, 21 Mar 2003 16:16:04 +0200 (EET),
Kai Vehmanen wrote:
> 
> Hi,
> 
> first please read the mail to ecasound-list below. 
> 
> It seems that with newer ALSA versions, snd_pcm_read[in]()  sometimes
> returns -EIO even though documentation says nothing about this. After some
> testing this seems to not happen on direct hw-access, only with
> the pcm_plugin. The EIO comes from snd_pcm_wait(). 
> 
> Is this a bug or or a feature?

i also don't know whether Jaroslav added as a feature or as an
unexpected bug.  anyway, this means that the poll failed and the pcm
status is abnormal, typically xruns...

how about the attached patch?  (untested)


Takashi

Attachment: pcm-poll-err-fix.dif
Description: Binary data

Reply via email to