Skip to content

alsa-lib: -ENODATA documentation

Kai Vehmanen alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pcm: add documentation for -ENODATA error codesrc/pcm/pcm.c+8 -00 replies
2/2pcm: fix spelling in documentation for -EBADFDsrc/pcm/pcm.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] alsa-lib: -ENODATA documentation

Hello all,

here's patch to document -ENODATA error as a PCM error code. We have recently merged patches to SOF firmware to use this error code:
https://github.com/thesofproject/sof/pull/2918

Some additional background on the use-case:
https://github.com/thesofproject/sof/issues/2564

In thread "Functionality of pcm_notify in snd-aloop?"
https://mailman.alsa-project.org/pipermail/alsa-devel/2020-April/166974.html

.. we discussed the possibility for ALSA to provide a mechanism for application to wait for the condition to change, but at least for the currently known usages, the synchronization responsibility will be in user-space (UCM file will describe the PCM dependencies). Anyways, this is orthogonal to documenting -ENODATA, so sending this now.

Kai Vehmanen (2):
pcm: add documentation for -ENODATA error code
pcm: fix spelling in documentation for -EBADFD

 src/pcm/pcm.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
Signature · 1 line
2.26.2