Re: documentation for error codes?

Clemens Ladisch via Alsa-user <[email protected]>
Newsgroups gmane.linux.alsa.user
Message-ID <[email protected]>
D. R. Evans wrote:
> Many functions say about the return value:
>   0 on success otherwise a negative error code
>
> Where is the documentation for the various possible "negative error code"s?

<https://www.alsa-project.org/alsa-doc/alsa-lib/group___error.html> has a list
of error codes defined by ALSA itself.  But for all other errors, ALSA just
uses the (negative) POSIX error code.

> I am seeing a -32 under a specific set of circumstances

32 = EPIPE

> but don't know what that returned value means

PCM stream stopped due to overrun or underrun.


Regards,
Clemens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.