when calling snd_pcm_unlink (stream) after an xrun occurred, it
returns EINVAL (hw: device, duplex, mmap'd IO, stop_threshold = ~0),
even though 'stream' is a valid PCM stream handle.

the snd_pcm_unlink code path seems to return EINVAL only if the stream
isn't linked to another.

but EINVAL misses the point, since the stream handle is valid.
if one tries to unlink a stream that isn't linked to another, EALREADY
is correct imo.

and my question for today: does the kernel layer unlink PCM streams
when an xrun occurs?

tim


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to