Skip to contentSkip to conversation

pcm: clarify documentation of poll descriptor usage

DISCUSSION GitHub pull_request - opened 1 participant 1 message Nov 24, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

alsa-project/alsa-lib pull request #370 was opened from z-s-e:

This is based on my understanding of the intended behavior and the test/pcm.c example code.

There needs to be more clarifiaction regarding the exact semantics of the value of the revents output parameter of
snd_pcm_poll_descriptors_revents, since there are events that do not necessarily correspond to POLLIN or POLLOUT (such as period events), but I believe this is a lot less obvious and needs confirmation first.

Request URL : https://github.com/alsa-project/alsa-lib/pull/370
Patch URL : https://github.com/alsa-project/alsa-lib/pull/370.patch
Repository URL: https://github.com/alsa-project/alsa-lib