Abramo Bagnara wrote: > > >No data may be read/written in current stream state in the case we are > > >discussing. > (...) > > The point is that stream is in bad state wrt read/write, this is the > reason why poll should return POLLERR.
I think the stream is _not_ in a bad state because one buffer of data can (and has) be written. The reason for not allowing further writes is that the buffer is full, and not that the device wouldn't accept any data at all. This is similar to the behaviour of a pipe with the reading end opened by an application which currently doesn't read from the pipe, in contrast to a pipe with the read end not opened at all. Regards Clemens ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel