alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
366 stars 177 forks source link

Add a note about return values of snd_pcm_state() #162

Closed HEnquist closed 3 years ago

HEnquist commented 3 years ago

This is a suggested improvement to the documentation of snd_pcm_state(). There is some confusion, probably caused by old bugs that could made it return a negative error code. This stuff is still floating around the internet and sometimes shows up in searches. This PR adds a comment intended to make it absolutely clear that there is never supposed to be a negative error code.

HEnquist commented 3 years ago

Very quiet here.. The readme states "Patches are also accepted as GitHub pull requests", is that no longer true?

perexg commented 3 years ago

Thank you for your contribution.